package xiangmu.schoolpaper.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import xiangmu.schoolpaper.mapper.LoginMapper;
import xiangmu.schoolpaper.pojo.DTO.LoginDTO;
import xiangmu.schoolpaper.pojo.entity.User;
import xiangmu.schoolpaper.service.LoginService;
@Service
public class LoginServiceImpl implements LoginService {
    @Autowired
    private LoginMapper loginMapper;

    @Override
    public User login(LoginDTO loginDTO) {

        return loginMapper.login(loginDTO);
    }
}
